/**
 * Copyright (c) 2012 Axa Holding Belgium, SA. All rights reserved.
 * This software is the confidential and proprietary information of the AXA Group.
 */
package chabernac.android.dictionary;

import java.io.IOException;

import chabernac.android.wordbattle.db.iStringDatabase;
import chabernac.android.wordbattle.model.RandomLetterHelper;

public class DummyWordProvider implements iStringDatabase {

  @Override
  public boolean isValidWord( String aLanguage, String aWord ) {
    if(aWord == null) return false;
    if(aWord.length() < 3) return false;
    if(aWord.contains( "G" )) return true;
    if(aWord.contains( "U" )) return true;
    if(aWord.contains( "Y" )) return true;
    return false;
  }

  @Override
  public void beginInsertingWords( String aLanguage ) {
    // TODO Auto-generated method stub
    
  }

  @Override
  public void endInsertingWords( String aLanguage ) {
    // TODO Auto-generated method stub
    
  }

  @Override
  public void insertWord( String aLanguage, String aWord ) throws IOException {
    // TODO Auto-generated method stub
    
  }

  @Override
  public RandomLetterHelper getRandomLetterHelper( String aLanguage ) throws IOException {
    // TODO Auto-generated method stub
    return null;
  }

  @Override
  public boolean isLanguageLoaded( String aLanguage ) {
    // TODO Auto-generated method stub
    return false;
  }

  @Override
  public boolean isValidPrefix( String aLanguage, String aPrefix ) {
    return false;
  }

  @Override
  public void insertingWordsCompleted( String aLanguage ) {
    // TODO Auto-generated method stub
    
  }

  @Override
  public void close() {
    // TODO Auto-generated method stub
    
  }

}
